crypto/tls.serverHelloMsg.random (field)
20 uses
crypto/tls (current package)
handshake_client.go#L242: tls12Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS12
handshake_client.go#L243: tls11Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS11
handshake_client.go#L517: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random)
handshake_client.go#L660: hs.hello.random, hs.serverHello.random)
handshake_client.go#L723: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_client_tls13.go#L70: if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) {
handshake_client_tls13.go#L317: if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) {
handshake_messages.go#L631: random []byte
handshake_messages.go#L755: addBytesWithLength(b, m.random, 32)
handshake_messages.go#L778: !s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
handshake_server.go#L125: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random)
handshake_server.go#L194: hs.hello.random = make([]byte, 32)
handshake_server.go#L195: serverRandom := hs.hello.random
handshake_server.go#L675: hs.clientHello.random, hs.hello.random)
handshake_server.go#L741: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_server_tls13.go#L132: hs.hello.random = make([]byte, 32)
handshake_server_tls13.go#L133: if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
handshake_server_tls13.go#L485: random: helloRetryRequestRandom,
key_agreement.go#L227: signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, hello.random, serverECDHEParams)
key_agreement.go#L353: signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, serverHello.random, serverECDHEParams)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |